$OpenBSD: patch-avidemux_ADM_videoFilter_ADM_vidDeintASM_cpp,v 1.2 2012/08/20 11:51:00 pascal Exp $
--- avidemux/ADM_videoFilter/ADM_vidDeintASM.cpp.orig	Fri Aug 10 18:42:31 2012
+++ avidemux/ADM_videoFilter/ADM_vidDeintASM.cpp	Fri Aug 10 18:43:10 2012
@@ -37,7 +37,7 @@
 
 #include"ADM_vidField.h"
 
-#if defined( ARCH_X86)  || defined(ARCH_X86_64)
+#if (defined( ARCH_X86)  || defined(ARCH_X86_64)) && !defined(__PIC__)
 //	#define DEBUG_DEINT 1
 //	#define MMX_TRACE 1
 	#include "ADM_video/mmx_macros.h"
@@ -94,7 +94,7 @@ int32_t val,x,y;
                       }
            }
 }
-#if defined( ARCH_X86)  || defined(ARCH_X86_64)
+#if (defined( ARCH_X86)  || defined(ARCH_X86_64)) && !defined(__PIC__)
 void ADMVideoFields::hasMotion_MMX(uint8_t *p,uint8_t *c,
 									uint8_t *n,
 									uint8_t *e,
